package com.atguigu.yygh.cmn.service;

import com.atguigu.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DictService extends IService<Dict> {
     List<Dict> getChildDataById(String id) ;

    List<Dict> findChildData(Long id);

    void exportData(HttpServletResponse response);

    void importData(MultipartFile file);



    String getNameByValue(String value);

    String getNameByValueAndDictCode(String value, String dictCode);

    List<Dict> getDictByDictCode(String province);
}
